package gongshw.comic.conan;

import gongshw.comic.ComicBook;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;
import android.widget.Toast;

public class LoadToComicView extends LoadActivity {
    String url;
    String comicName;
    protected void load(){
			C.comicBook = new ComicBook(comicName, url);
    }
    
    
    protected void findView(){
    	super.findView();
    	textView.setText(comicName);
    }
    
    protected void getExtra(){
    	url = this.getIntent().getExtras().getString("url");
    	comicName= this.getIntent().getExtras().getString("name");
    }
    
    protected void gotoList(){
    	Intent intent = new Intent();
    	intent.putExtra("name", comicName);
		intent.setClass(this,ChapterList.class);
		this.finish();
		startActivity(intent);
    }
    
}